console/client: properly use time_t in get_pty_fd()
authorJan Beulich <jbeulich@suse.com>
Fri, 19 Aug 2022 07:58:14 +0000 (09:58 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 19 Aug 2022 07:58:14 +0000 (09:58 +0200)
commit2891f116e798a20ad35ab10e5a3c7f0c51156d81
tree74e6bda4289d2e53d991dc8365f5043d75a7fcd5
parent6c987150cf71976b5dd16b5f736dd5b0c6f6aee8
console/client: properly use time_t in get_pty_fd()

"int" is not a suitable type to hold time()'s return value.

Coverity ID: 1509376
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Anthony PERARD <anthony.perard@citrix.com>
tools/console/client/main.c